﻿namespace Peter.Common.Interfaces
{
   /// <summary>
   /// Interface used for peter editors.
   /// </summary>
   public interface IPeterEditor : IPeterTextDocument
   {
      /// <summary>
      /// Gets or Sets additional content to display at the top of the editor.
      /// </summary>
      object TopContent { get; set; }

      /// <summary>
      /// Gets or Sets additional content to display to the right of the editor.
      /// </summary>
      object RightContent { get; set; }

      /// <summary>
      /// Gets or Sets additional content to display at the bottom of the editor.
      /// </summary>
      object BottomContent { get; set; }

      /// <summary>
      /// Sets the text of the editor.
      /// </summary>
      /// <param name="text">Text to set.</param>
      void SetText (string text);
   }
}
